Multi page online form with PHP, MySQL and Session Variables
Multi page online form with PHP, MySQL and Session Variables
Learn how to build a multi page online form, which retains the values moving back and forth with PHP, MySQL and SessionsIn this series we will have a look at how we can crate a mulit page online form to store data from several different sections of the survey form, store and display them on the summary page. The form will retain the entered / selected values when we move back and forth and will not allow to move forward unless the required options have been selected / filled in.
All this will be done using PHP, MySQL and Session Variables.
- SECTION 1:
Introduction
- 1 What we are going to be building 03:07 Preview
- SECTION 2:
Preparation
- 2 Exercise files and database import 02:02 Preview
- 3 Template 04:11 Preview
- 4 Header and Footer 02:04 Preview
- SECTION 3:
Framework
- 5 Configuration 05:18
- 6 Database and Layout functions 11:22
- 7 Render page 04:25
- 8 Get module 08:45
- 9 Form module 06:19
- 10 Form sections 05:59
- SECTION 4:
Forms
- 11 First form 06:19
- 12 Get age and sticky dropdown functions 07:58
- 13 Gender radio buttons 03:55
- 14 Get countries function 08:02
- 15 Submit 02:30
- 16 Post and validation 06:03
- 17 Required array 02:19
- 18 Sticky form fields 07:02
- 19 Displaying validation 05:48
- 20 Redirect after post 04:08
- 21 Post to Session 09:08
- 22 Print sessions 04:37
- 23 Interests list 07:58
- 24 Interests list 2 08:27
- 25 Sticky checkbox 04:51
- 26 Processing interests 10:19
- 27 Colours list 08:17
- 28 Processing colours 07:11
- 29 Favorite search engine 04:32
- 30 Sessions to database 09:06
- 31 Sessions to database 2 08:06
- SECTION 5:
Displaying records
- 32 List of submissions 09:28
- 33 Single entry 06:02
- 34 Get single interest record 05:52
- 35 Finishing and testing 08:08
- 36 Exercise Files 17.41 KB